// build protocol

use tonic_build;

fn main() {
    println!("Start to build protocol...");
    tonic_build::configure()
        .build_server(false)
        .build_client(true)
        .out_dir("src/grpc_client")
        .compile(
            &["src/grpc_client/protos/rauth.proto", "src/grpc_client/protos/iblog.proto"],
            &["src/grpc_client/protos"],
        )
        .unwrap();
}
